<?php
namespace app\admin\model;

use think\Model;

class Link extends Model
{
    protected $name = 'link';
    protected $type       = [
        //设置addtime为时间戳类型（整型）
        'create_time' => 'timestamp:Y-m-d H:i:s',
    ];

}